/** COPYRIGHT(C) 2008. Loc Phan. All Rights Reserved.
    A java class that display the chart
    @author Loc Phan
    @version 1.01 2008-11-11
*/
import javax.swing.JFrame;

public class ChartViewer
{
   public static void main(String[] args)
   {
      JFrame frame = new JFrame();
      frame.setTitle("Chart");
      frame.setSize(480, 640);
      ChartComponent myComponent = new ChartComponent();
      frame.add(myComponent);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setVisible(true);
   }
}